<?php

namespace app\admin\controller;


class Maps extends Base
{

    public function setting()
    {
        $muser = new \app\admin\model\Users();
        $id = session('my_self')['id'];
        $icontypes = my_icontypes($id);
        $my_self = (Array)$muser->getById($id);
        $this->assign("icontypes", json_encode($icontypes));
        $this->assign('centerpoint', $my_self['centerpoint']);
        $this->assign('zoom', $my_self['zoom']);
        $this->assign('area_id',$id);



        return $this->fetch();
    }

}
